package com.tem.purchase.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("supplier")
@ApiModel(value="Supplier对象", description="")
public class Supplier implements Serializable {
    private static final long serialVersionUID=45465768231890232L;
    @ApiModelProperty(value = "品牌")
    @TableId(value = "supplier_id", type = IdType.AUTO)
    private Long supplierId;

    @ApiModelProperty(value = "企业")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "分类")
    @TableField("supplier_type_id")
    private Long supplierTypeId;

    @ApiModelProperty(value = "主营栏目")
    @TableField("catorgory_name")
    private String catorgoryName;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "拼音")
    @TableField("pinyin")
    private String pinyin;

    @ApiModelProperty(value = "联系人")
    @TableField("link_user")
    private String linkUser;

    @ApiModelProperty(value = "联系电话")
    @TableField("link_tel")
    private String linkTel;

    @ApiModelProperty(value = "区域")
    @TableField("region_path")
    private String regionPath;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "手机")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "微信")
    @TableField("wechat")
    private String wechat;

    @ApiModelProperty(value = "邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty(value = "官网")
    @TableField("web_home")
    private String webHome;

    @ApiModelProperty(value = "需支付")
    @TableField("need_pay")
    private BigDecimal needPay;

    @ApiModelProperty(value = "开户名称")
    @TableField("account_name")
    private String accountName;

    @ApiModelProperty(value = "纳税人识别号")
    @TableField("account_code")
    private String accountCode;

    @ApiModelProperty(value = "开户银行的名称")
    @TableField("bank_name")
    private String bankName;

    @ApiModelProperty(value = "银行账号")
    @TableField("bank_account")
    private String bankAccount;

    @ApiModelProperty(value = "1现结 2欠款 3当月结 4次月结")
    @TableField("pay_type")
    private Integer payType;

    @ApiModelProperty(value = "付款期限?天")
    @TableField("pay_day")
    private Integer payDay;

    @ApiModelProperty(value = "排序")
    @TableField("seq")
    private Integer seq;

    @ApiModelProperty(value = "是否默认")
    @TableField("is_default")
    private Integer isDefault;

    @ApiModelProperty(value = "1激活 0停用")
    @TableField("status")
    private Integer status;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
